package com.ddwl.schema.vo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * 订单商品表(OrderSpu)返回前端对象
 *
 * @author makejava
 * @since 2020-06-02 11:21:27
 */
@Data
@ApiModel("")
public class OrderSpuVo {

    private String id;
         
    @ApiModelProperty("订单号")    
    private String orderId;
         
    @ApiModelProperty("商品ID")    
    private String itemId;

    @ApiModelProperty("商品code")
    private String itemCode;

    @ApiModelProperty("skuid")    
    private String skuId;
    @ApiModelProperty("barcode")
    private String skuCode;
    @ApiModelProperty("商品类目Id")
    private String categoryId;

    @ApiModelProperty("购买数量")    
    private Integer skuQty;
         
    @ApiModelProperty("商品名称")    
    private String itemName;
         
    @ApiModelProperty("商品描述")    
    private String skuDesc;
         
    @ApiModelProperty("商品图片")    
    private String skuPic;
         
    @ApiModelProperty("原单价")    
    private BigDecimal price;
         
    @ApiModelProperty("实际付款单价")    
    private BigDecimal realPrice;

    @ApiModelProperty("成本价")
    private BigDecimal factoryPrice;

    @ApiModelProperty("商品分消利润")
    private BigDecimal profitPrice;

    @ApiModelProperty("分消员利润")
    private BigDecimal distPrice;

    @ApiModelProperty("区域合伙人利润")
    private BigDecimal regionPrice;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")    
    private Instant gmtCreated;
         
    @ApiModelProperty("修改时间")    
    private Instant gmtModified;

    @ApiModelProperty("是否进行售后(0否 1售后中 2售后完成 5 退款中 6已退款)")
    private Integer isAfterSale;

    @ApiModelProperty("申请售后次数")
    private Integer afterSaleCount;

    @ApiModelProperty("售后状态(0取消售后 1提交申请 2客服受理 3寄回中 4官方收货  5退款中 6完成退款 7完成换货 8已拒绝 9售后单已关闭 20未售后)")
    private Integer afterSaleStatus;

    @ApiModelProperty("地址id")
    private String addrId;
     
}